
package org.crazyoss.infrastructure.persistence.dao;

import java.io.Serializable;
import java.util.List;
import org.crazyoss.infrastructure.persistence.util.DeleteStrategy;
import org.crazyoss.infrastructure.persistence.util.PersistenceLayerException;

public class AbstractDao<ID extends Serializable, T> implements GenericDao<ID, T> {

    protected DeleteStrategy deleteStrategy;

    @Override
    public void setDeleteStrategy(DeleteStrategy s) throws PersistenceLayerException {
        this.deleteStrategy = s;
    }

    @Override
    public Class<T> getEntityClass() throws PersistenceLayerException {
        throw new org.apache.commons.lang.NotImplementedException();
    }

    @Override
    public int countAll() throws PersistenceLayerException {
        throw new org.apache.commons.lang.NotImplementedException();
    }

    @Override
    public int countByExample(T exampleInstance) throws PersistenceLayerException {
        throw new org.apache.commons.lang.NotImplementedException();
    }

    @Override
    public T save(T entity) throws PersistenceLayerException {
        throw new org.apache.commons.lang.NotImplementedException();
    }

    @Override
    public List<T> save(List<T> entities) throws PersistenceLayerException {
        throw new org.apache.commons.lang.NotImplementedException();
    }

    @Override
    public List<T> findAll() throws PersistenceLayerException {
        throw new org.apache.commons.lang.NotImplementedException();
    }

    @Override
    public T findById(ID id) throws PersistenceLayerException {
        throw new org.apache.commons.lang.NotImplementedException();
    }

    @Override
    public List<T> findByExample(T exampleInstance) throws PersistenceLayerException {
        throw new org.apache.commons.lang.NotImplementedException();
    }

    @Override
    public int deleteAll() throws PersistenceLayerException {
        throw new org.apache.commons.lang.NotImplementedException();
    }

    @Override
    public int deleteById(ID id) throws PersistenceLayerException {
        throw new org.apache.commons.lang.NotImplementedException();
    }

    @Override
    public int deleteByExample(T exampleInstance) throws PersistenceLayerException {
        throw new org.apache.commons.lang.NotImplementedException();
    }

}
